package export;

import export.inner.LangChange;
import org.junit.Test;

public class DemoJava {

    private void tes1() {
        test(test(LangChange.change("-1", "DemoJava_-1", "DSDF"), LangChange.change("-3", "DemoJava_-2", "DSDF")), LangChange.change("-3", "DemoJava_-3", "DSDF"));
        LangChange.change("111112312", "DemoJava_1", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }


    private void testSpace001() {
        LangChange.change("001", "DemoJava_001",
            "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }


    @Test
    public void testDD() {
        System.out.println(Runtime.getRuntime().availableProcessors());
    }

    private void testSpace010() {
        LangChange.change("010",
            "DemoJava_010", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
        Runtime.getRuntime().availableProcessors();
        System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "12");


    }


    private void testSpace011() {
        LangChange.change("011",
            "DemoJava_011",
            "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    private void testSpace100() {
        LangChange.change(
            "100", "DemoJava_100", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace101() {
        LangChange.change(
            "101", "DemoJava_101",
            "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace110() {
        LangChange.change(
            "110",
            "DemoJava_110", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace111() {
        LangChange.change(
            "111",
            "DemoJava_111",
            "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    private void testSpace11() {
        LangChange.change("000004444", "DemoJava_11",
            "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    private void tes3() {
        LangChange.change(
            "sdafgf",
            "DemoJava_2", "DSDF");

        LangChange.change("00test3", "DemoJava_0", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    private void sdgsdfg() {
        LangChange.change(
            "sdafgf",
            "DemoJava_123", "DSDF");

        LangChange.change("飞机大炮", "DemoJava_6", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    @Test
    public void test() {


        int core = Runtime.getRuntime().availableProcessors();
        System.out.println(core);
        System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism","12");

    }

    @Test
    public void test444() {
        test(
            LangChange.change(
                "飞机大炮444",
                "DemoJava_14", "DSDF")
            ,
            LangChange.change(
                "飞机大炮2222444",
                "DemoJava_15", "DSDF")

        );

    }


    public String test(String a, String b) {
        return null;
    }


    private void testSpace_001() {
        LangChange
            .
                change("001", "DemoJava_001",
                    "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }


    private void testSpace_010() {
        LangChange
            .
                change("010",
                    "DemoJava_010", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }


    private void testSpace_011() {
        LangChange
            .change("011",
                "DemoJava_011",
                "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

    private void testSpace_100() {
        LangChange
            .change(
                "100", "DemoJava_100", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace_101() {
        LangChange
            .change(
                "100", "DemoJava_100",
                "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace_110() {
        LangChange.
            change(
                "100",
                "DemoJava_100", "DSDF");
        System.out.println("-------------------华丽分割线----------------------");
    }

    private void testSpace_111() {
        LangChange
            .change(
                "010",
                "DemoJava_010",
                "DSDF");
        System.out.println("-------------------华丽分割线----------------------");

    }

}
